package pers.cz.mapper;

import pers.cz.mybatisPlugin.PageRowBounds;
import pers.cz.model.TestCase;
import pers.cz.model.TestCaseExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TestCaseMapper {
    int countByExample(TestCaseExample example);

    int deleteByExample(TestCaseExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TestCase record);

    int insertSelective(TestCase record);

    List<TestCase> selectByExample(TestCaseExample example);

    TestCase selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TestCase record, @Param("example") TestCaseExample example);

    int updateByExample(@Param("record") TestCase record, @Param("example") TestCaseExample example);

    int updateByPrimaryKeySelective(TestCase record);

    int updateByPrimaryKey(TestCase record);

    int batchInsert(List<TestCase> listTestCases);

    List<TestCase> queryAllTestCase();

    List<TestCase> queryTestCaseByBusiCode(String busiCode);

    List<TestCase> queryAllTestCaseByPage(PageRowBounds pageRowBounds, Integer userId);

    List<TestCase> queryAllTestCaseIds(List<Integer> ids);

    int selectCount(Integer userId);

    List<TestCase> queryAllTestCaseByTestName(String testName);

    List<TestCase> selectByFuzzy(String testCaseName);
}
